package com.absurdzoo.sweetpotato;

public class Stegosaurus {
    private String id;
    private String name;
    private String color;
    private String appearance;
    private String sound;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
    public String getappearance() {
        return appearance;
    }

    public void setappearance(String appearance) {
        this.appearance = appearance;
    }

    public String getSound() {
        return sound;
    }

    public void setSound(String sound) {
        this.sound = sound;
    }

    @Override
    public String toString() {
        return "当前的动物名称：Stegosaurus{" +
                "动物id：" + id +'\n'+
                ", 动物名字：'" + name + '\n' +
                ", 动物颜色：'" + color + '\n' +
                ", 动物外表：'" + appearance+ '\n'+
                ", 动物声音：'" + sound + '\n' +
                '}';
    }

    public void flyInTheSky() {
        System.out.println("我是会飞的剑龙！！！");
    }
    public void appearance(){
        System.out.println("我是银色的！！有紫色的角！");
    }
    public void sound(){
        System.out.println("是康娜的萝莉音哦");
    }
    public void other() {
        System.out.println("经历：每天和托尔大人玩耍");
    }

}
